<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:77:"E:\wamp\www\dataerqi\626\tp5\public/../application/index\view\Game\index.html";i:1498974333;}*/ ?>
<!DOCTYPE html>
<html lang="cn">
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <!-- <link rel="Bookmark" href="/favicon.ico" > -->
    <!-- <link rel="Shortcut Icon" href="/favicon.ico" /> -->
    <!--[if lt IE 9]>
    <script type="text/javascript" src="lib/html5shiv.js"></script>
    <script type="text/javascript" src="lib/respond.min.js"></script>
    <![endif]-->
    <!-- Bootstrap core CSS -->
    <link href="/static/zwb/admin/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="/static/zwb/admin/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="/static/zwb/admin/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="/static/zwb/admin/1.0.8/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="/static/zwb/admin/h-ui.admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="/static/zwb/admin/h-ui.admin/css/style.css"/>

</head>
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 游戏管理 <span
        class="c-gray en">&gt;</span> 游戏列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
                                              href="javascript:location.replace(location.href);" title="刷新"><i
        class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
<div class="row mt50">
    <div class="col-md-12">
        <table class="table table-border table-bordered table-bg">
            <thead>
            <tr >
                <th>id</th>
                <th>游戏名称</th>
                <th>显示</th>
                <th>操作</th>

                <th><a href="/gameadd/" class="btn btn-primary btn-xs">添加</a></th>

            </tr>
            </thead>
            <tbody>
                <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$li): $mod = ($i % 2 );++$i;?>
            <tr>
                <td><?php echo $li['gid']; ?></td>
                <td><?php echo $li['gname']; ?></td>
                <td ><?php echo $li['gfile']; ?></td>
                <td>
               <?php if($li['status'] == 0): ?>
                 <a href="/Gameshang/<?php echo $li['gid']; ?>">显示</a>
                    <?php else: ?>
                  <a href="/Gamexia/<?php echo $li['gid']; ?>">不显示</a>
                <?php endif; ?>
                </td>
                <td class="col-md-2">
                 <a href="/Gamedelect/<?php echo $li['gid']; ?>">删除</a>
                </td>
            </tr>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </tbody>
        </table>
    </div>
</div>
</div>
    <script type="text/javascript" src="/static/home/js/jquery.min.js"></script>
    <script type="text/javascript" src="/static/home/js/bootstrap.js"></script>
    <script type="text/javascript" src="/static/home/layui/layui.js"></script>

</body>
</html>
